import React, { Component } from 'react';
import { Link } from 'react-router-dom'
import Lifecycle from '../components/Lifecycle';
import './Home.css';

class Home extends Component {
  constructor(props) {
    super(props);
    this.state = {
      name: 'Home'
    }
  }

  render() {
    return (
      <div className="home">
        <h1>Home</h1>
        <Lifecycle></Lifecycle>
        <ul>
          <li><Link to={`/about`}>About</Link></li>
          <li><Link to={`/profile`}>Profile</Link></li>
        </ul>
      </div>
    );
  }
}

export default Home;
